<!--销售数据-->
<div>
  <div class="am-g mh-title am-padding-horizontal-sm">
    <div class="am-u-sm-2 mh-padding-none">
      <a href="javascript:history.go(-1)" class="mh-text-white">
        <span class="am-icon-angle-left am-icon-sm"></span> 返回
      </a>
    </div>
    <div class="am-u-sm-8 am-text-center">销售数据</div>
    <div id="title-dropdown" class="am-u-sm-2 mh-padding-none am-text-right am-dropdown">
      <span class="am-dropdown-toggle am-icon-sm am-icon-edit" ng-click="saleAdd()"></span>
    </div>
  </div>
  <div style="z-index: -1;height: 45px;background-color: transparent;color: transparent"></div>
</div>
<div class="am-padding-sm">
  <form class="am-form am-form-horizontal am-text-sm">
    <horizontal-item-static config-data="{name:'楼盘名称：',type:'text'}" ng-model="building.estateName"></horizontal-item-static>
    <horizontal-item-second config-data="{name:'销售率：',type:'number',unit:'%'}"
                            ng-model="building.salesRate"></horizontal-item-second>
    <horizontal-item-second config-data="{name:'入住率：',type:'number',unit:'%'}"
                            ng-model="building.owningRate"></horizontal-item-second>
    <horizontal-item-second config-data="{name:'花园拥有率：',type:'number',unit:'%'}"
                            ng-model="building.occupancyRate"></horizontal-item-second>
    <horizontal-item config-data="{name:'物业拜访量：',type:'number'}" ng-model="building.propertyVisit"></horizontal-item>
    <horizontal-item-second config-data="{name:'单户拜访率：',type:'number',unit:'%'}"
                            ng-model="building.singleVisit"></horizontal-item-second>
    <horizontal-item config-data="{name:'物业公关：',type:'text'}" ng-model="building.hoaCompany"></horizontal-item>
    <horizontal-item config-data="{name:'承接设计项目：',type:'text'}" ng-model="building.design"></horizontal-item>
    <horizontal-item config-data="{name:'承接施工项目：',type:'text'}" ng-model="building.construction"></horizontal-item>
    <horizontal-item config-data="{name:'施工项目造价：',type:'number'}" ng-model="building.cost"></horizontal-item>
    <horizontal-item config-data="{name:'承接养护管家：',type:'text'}" ng-model="building.maintenance"></horizontal-item>
    <horizontal-item config-data="{name:'计划完成时间：',type:'date'}" ng-model="building.finishTime"></horizontal-item>

    <button type="submit" class="am-btn am-btn-default am-radius am-form-field mh-lightgreen mh-text-white"
            ng-click="salesAdd(building)">保存
    </button>
  </form>
</div>
